Optimal. Leaf size=45 \[ -\frac {a^2}{4 x^4}-\frac {a b}{x^2}+b c x^2+\frac {c^2 x^4}{4}+\left (b^2+2 a c\right ) \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {1128, 712}
\begin {gather*} -\frac {a^2}{4 x^4}+\log (x) \left (2 a c+b^2\right )-\frac {a b}{x^2}+b c x^2+\frac {c^2 x^4}{4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 712
Rule 1128
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2+c x^4\right )^2}{x^5} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {\left (a+b x+c x^2\right )^2}{x^3} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (2 b c+\frac {a^2}{x^3}+\frac {2 a b}{x^2}+\frac {b^2+2 a c}{x}+c^2 x\right ) \, dx,x,x^2\right )\\ &=-\frac {a^2}{4 x^4}-\frac {a b}{x^2}+b c x^2+\frac {c^2 x^4}{4}+\left (b^2+2 a c\right ) \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 41, normalized size = 0.91 \begin {gather*} \frac {\left (-a+c x^4\right ) \left (a+4 b x^2+c x^4\right )}{4 x^4}+\left (b^2+2 a c\right ) \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 42, normalized size = 0.93
method | result | size |
default | \(-\frac {a^{2}}{4 x^{4}}-\frac {a b}{x^{2}}+b c \,x^{2}+\frac {c^{2} x^{4}}{4}+\left (2 a c +b^{2}\right ) \ln \left (x \right )\) | \(42\) |
norman | \(\frac {b c \,x^{6}-\frac {1}{4} a^{2}+\frac {1}{4} c^{2} x^{8}-a b \,x^{2}}{x^{4}}+\left (2 a c +b^{2}\right ) \ln \left (x \right )\) | \(44\) |
risch | \(\frac {c^{2} x^{4}}{4}+b c \,x^{2}+b^{2}+\frac {-\frac {1}{4} a^{2}-a b \,x^{2}}{x^{4}}+2 \ln \left (x \right ) a c +b^{2} \ln \left (x \right )\) | \(48\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 45, normalized size = 1.00 \begin {gather*} \frac {1}{4} \, c^{2} x^{4} + b c x^{2} + \frac {1}{2} \, {\left (b^{2} + 2 \, a c\right )} \log \left (x^{2}\right ) - \frac {4 \, a b x^{2} + a^{2}}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 47, normalized size = 1.04 \begin {gather*} \frac {c^{2} x^{8} + 4 \, b c x^{6} + 4 \, {\left (b^{2} + 2 \, a c\right )} x^{4} \log \left (x\right ) - 4 \, a b x^{2} - a^{2}}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.17, size = 44, normalized size = 0.98 \begin {gather*} b c x^{2} + \frac {c^{2} x^{4}}{4} + \left (2 a c + b^{2}\right ) \log {\left (x \right )} + \frac {- a^{2} - 4 a b x^{2}}{4 x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.71, size = 60, normalized size = 1.33 \begin {gather*} \frac {1}{4} \, c^{2} x^{4} + b c x^{2} + \frac {1}{2} \, {\left (b^{2} + 2 \, a c\right )} \log \left (x^{2}\right ) - \frac {3 \, b^{2} x^{4} + 6 \, a c x^{4} + 4 \, a b x^{2} + a^{2}}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 43, normalized size = 0.96 \begin {gather*} \ln \left (x\right )\,\left (b^2+2\,a\,c\right )-\frac {\frac {a^2}{4}+b\,a\,x^2}{x^4}+\frac {c^2\,x^4}{4}+b\,c\,x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________